package com.edu.bean;/*
 *@Autor:yjy
 *@Date:2025/10/17:17:25:
 *
 */

import java.util.List;

public class Project {
    private int id;
    private String projectName;
    private int managerId;
    private double budget;
    private int status;
    private Employee manager;
    private List<ProjectMember> members;
    private int memberCount;

    public Project() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public int getManagerId() {
        return managerId;
    }

    public void setManagerId(int managerId) {
        this.managerId = managerId;
    }

    public double getBudget() {
        return budget;
    }

    public void setBudget(double budget) {
        this.budget = budget;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Employee getManager() {
        return manager;
    }

    public void setManager(Employee manager) {
        this.manager = manager;
    }

    public List<ProjectMember> getMembers() {
        return members;
    }

    public void setMembers(List<ProjectMember> members) {
        this.members = members;
    }

    public int getMemberCount() {
        return memberCount;
    }

    public void setMemberCount(int memberCount) {
        this.memberCount = memberCount;
    }

    @Override
    public String toString() {
        return "Project{" +
                "id=" + id +
                ", projectName='" + projectName + '\'' +
                ", managerId=" + managerId +
                ", budget=" + budget +
                ", status=" + status +
                ", manager=" + manager +
                ", members=" + members +
                ", memberCount=" + memberCount +
                '}';
    }
}
